package com.yeyks.other.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SmsHistory对象", description="")
public class SmsHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("account_id")
    private Long accountId;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "消息内容")
    @TableField("contents")
    private String contents;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "短信类型 1、注册登陆忘记密码 2、下单提醒 3、发送密码提醒")
    @TableField("sms_type")
    private String smsType;


    public static final String ID = "id";

    public static final String ACCOUNT_ID = "account_id";

    public static final String PHONE = "phone";

    public static final String CONTENTS = "contents";

    public static final String CREATE_TIME = "create_time";

    public static final String SMS_TYPE = "sms_type";

}
